<template>
  <div id="app">
    <button v-on:click="show = !show">
      <ColorChange>
        <span>
          Toggle
        </span>
      </ColorChange>
    </button>
    <img src="./assets/logo.png">
    <Bounce>
      <hello v-bind:sss="sss" v-if="show"></hello>
    </Bounce>
  </div>
</template>

<script>
import Hello from './components/Hello'
import Bounce from './components/Bounce'
import ColorChange from './components/ColorChange.vue'

export default {
  name: 'app',
  components: {
    Hello,
    Bounce,
    ColorChange
  },
  data () {
    return {
      sss: 'Welcome to Your Vue.js Appeeeeeffffffffffffffffffeeeeeeeeee',
      show: false
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
